<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>UpdateCoolHosts</title>
</head>
<body>
<form action="/buy" method="post">
    <p>书名</p>
    <p name="book_name">{{info.name}}</p>
    <br>
    <p>书号</p>
    <p name="book_id">{{info.book_id}}</p>
    <input type="hidden" name="book_id" value={{info.book_id}} />
    <br>
    <p>作者</p>
    <p name="author">{{info.author}}</p>
    <br>
    <p>出版社</p>
    <p name="publisher">{{info.publisher}}</p>
    <br>
    <p>单价</p>
    <p name="price">{{info.price}}</p>
    <br>
    <p>库存</p>
    <p name="stock">{{info.stock}}</p>
    <br><p>要购买的数量</p>
    <input name="buy_nums" type="text" />
    <br>
    <input name="buyer_name" type="text" value="name"/>
    <br>
    <input name="buyer_address" type="text" value="address"/>
    <br>
    <input type="submit" value="购买"/>
    {{ xsrf_form_html() }}
</form>
</body>
</html>